package com.example.mam.entity;

import java.util.Date;


public class Investor {
    /**
     * 自增主键id
     */
    private Long id;

    /**
     * 账号
     */
    private Long login;

    /**
     * 账号
     */
    private String name;

    /**
     * 初始资金
     */
    private Double initialFunds;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 主账号
     */
    private Long masterLogin;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLogin() {
        return login;
    }

    public void setLogin(Long login) {
        this.login = login;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getInitialFunds() {
        return initialFunds;
    }

    public void setInitialFunds(Double initialFunds) {
        this.initialFunds = initialFunds;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getMasterLogin() {
        return masterLogin;
    }

    public void setMasterLogin(Long masterLogin) {
        this.masterLogin = masterLogin;
    }
}